import { Ticket } from '@/types/tickets';

export const mockTickets: Ticket[] = [
    {
      id: "DZ-20230623-001",
      type: "隔离开关分闸操作票 (断电)",
      location: "丁堰车辆段",
      status: "已完成",
      target: "23股道",
      applicant: "郭正伟",
      operator: "郭正伟",
      supervisor: "张家鸿",
      applicationTime: "2023-06-23T09:08:00.000Z",
      executionTime: "2023-06-23T09:14:00.000Z",
      completionTime: "2023-06-23T09:19:00.000Z",
      operationType: '断电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认23股道隔离开关Q23处于分闸位置', status: 'completed' },
        { step: 2, action: '在 SCADA 工作站上，操作司机台"23股道断电"按钮，分断23股道隔离开关Q23。', status: 'completed' },
        { step: 3, action: '确认 SCADA 工作站上23股道隔离开关Q23状态指示灯由红色变为绿色，位置状态变为分闸。', status: 'completed' },
        { step: 4, action: '确认现场23股道隔离开关Q23电动、手动操作机构处于分闸位置。', status: 'completed' },
        { step: 5, action: '在23股道隔离开关Q23电动、手动操作机构上悬挂"禁止合闸，有人工作"标示牌。', status: 'completed' },
        { step: 6, action: '通知工班长23股道已断电，并记录相关信息。', status: 'completed' }
      ],
      remarks: "操作顺利完成。"
    },
    {
      id: "DZ-20230624-001",
      type: "隔离开关合闸操作票 (送电)",
      location: "丁堰车辆段",
      status: "进行中",
      target: "23股道",
      applicant: "张家鸿",
      operator: "张家鸿",
      supervisor: "郭正伟",
      applicationTime: "2023-06-24T08:30:00.000Z",
      executionTime: "2023-06-24T09:00:00.000Z",
      completionTime: null,
      operationType: '送电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认23股道隔离开关Q23处于分闸位置', status: 'completed' },
        { step: 2, action: '在 SCADA 工作站上，操作司机台"23股道断电"按钮，分断23股道隔离开关Q23。', status: 'not_completed' },
        { step: 3, action: '确认 SCADA 工作站上23股道隔离开关Q23状态指示灯由红色变为绿色，位置状态变为分闸。', status: 'not_completed' },
        { step: 4, action: '确认现场23股道隔离开关Q23电动、手动操作机构处于分闸位置。', status: 'not_completed' },
        { step: 5, action: '在23股道隔离开关Q23电动、手动操作机构上悬挂"禁止合闸，有人工作"标示牌。', status: 'not_completed' },
        { step: 6, action: '通知工班长23股道已断电，并记录相关信息。', status: 'not_completed' }
      ],
      remarks: ""
    },
    {
      id: "DZ-20230625-001",
      type: "接地线挂接操作票",
      location: "丁堰车辆段",
      status: "待执行",
      target: "25股道",
      applicant: "李明",
      operator: "李明",
      supervisor: "王强",
      applicationTime: "2023-06-25T10:15:00.000Z",
      executionTime: null,
      completionTime: null,
      operationType: '接地',
      safetyMeasures: [],
      operations: [],
      remarks: "请求批准。",
      execution: null,
    },
    {
      id: "DZ-20240501-001",
      type: "隔离开关分闸操作票 (断电)",
      location: "丁堰车辆段",
      status: "已完成",
      target: "10股道",
      applicant: "张伟",
      operator: "张伟",
      supervisor: "李娜",
      applicationTime: "2024-05-01T08:15:30.000Z",
      executionTime: "2024-05-01T08:30:45.000Z",
      completionTime: "2024-05-01T08:45:22.000Z",
      operationType: '断电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认10股道隔离开关Q10处于分闸位置', status: 'completed' },
        { step: 2, action: '在 SCADA 工作站上，操作司机台"10股道断电"按钮，分断10股道隔离开关Q10。', status: 'completed' },
        { step: 3, action: '确认 SCADA 工作站上10股道隔离开关Q10状态指示灯由红色变为绿色，位置状态变为分闸。', status: 'completed' },
        { step: 4, action: '确认现场10股道隔离开关Q10电动、手动操作机构处于分闸位置。', status: 'completed' },
        { step: 5, action: '在10股道隔离开关Q10电动、手动操作机构上悬挂"禁止合闸，有人工作"标示牌。', status: 'completed' },
        { step: 6, action: '通知工班长10股道已断电，并记录相关信息。', status: 'completed' }
      ],
      remarks: "操作顺利完成。"
    },
    {
      id: "DZ-20240502-001",
      type: "隔离开关合闸操作票 (送电)",
      location: "丁堰车辆段",
      status: "已完成",
      target: "10股道",
      applicant: "李娜",
      operator: "李娜",
      supervisor: "张伟",
      applicationTime: "2024-05-02T14:20:15.000Z",
      executionTime: "2024-05-02T14:35:10.000Z",
      completionTime: "2024-05-02T14:50:42.000Z",
      operationType: '送电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认10股道隔离开关Q10处于分闸位置', status: 'completed' },
        { step: 2, action: '在 SCADA 工作站上，操作司机台"10股道送电"按钮，合上10股道隔离开关Q10。', status: 'completed' },
        { step: 3, action: '确认 SCADA 工作站上10股道隔离开关Q10状态指示灯由绿色变为红色，位置状态变为合闸。', status: 'completed' },
        { step: 4, action: '确认现场10股道隔离开关Q10电动、手动操作机构处于合闸位置。', status: 'completed' },
        { step: 5, action: '移除10股道隔离开关Q10电动、手动操作机构上的"禁止合闸，有人工作"标示牌。', status: 'completed' },
        { step: 6, action: '通知工班长10股道已送电，并记录相关信息。', status: 'completed' }
      ],
      remarks: "送电操作完成，设备正常。"
    },
    {
      id: "DZ-20240505-001",
      type: "接地线挂接操作票",
      location: "丁堰车辆段",
      status: "已完成",
      target: "11股道",
      applicant: "王强",
      operator: "王强",
      supervisor: "刘静",
      applicationTime: "2024-05-05T09:05:20.000Z",
      executionTime: "2024-05-05T09:15:30.000Z",
      completionTime: "2024-05-05T09:25:15.000Z",
      operationType: '接地',
      safetyMeasures: [
        { item: '确认相关设备已断电，无电压。', status: 'completed' },
        { item: '确认接地装置完好。', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '确认11股道已断电，并进行验电。', status: 'completed' },
        { step: 2, action: '准备接地线装置，检查接地线完好性。', status: 'completed' },
        { step: 3, action: '按规程挂接接地线至指定接地点。', status: 'completed' },
        { step: 4, action: '确认接地线连接牢固。', status: 'completed' },
        { step: 5, action: '在接地点挂接"已接地"标识牌。', status: 'completed' },
        { step: 6, action: '通知相关人员接地工作已完成。', status: 'completed' }
      ],
      remarks: "接地工作顺利完成。"
    },
    {
      id: "DZ-20240510-001",
      type: "隔离开关分闸操作票 (断电)",
      location: "丁堰车辆段",
      status: "已作废",
      target: "试车线",
      applicant: "赵勇",
      operator: "赵勇",
      supervisor: "张伟",
      applicationTime: "2024-05-10T10:30:45.000Z",
      executionTime: null,
      completionTime: null,
      operationType: '断电',
      safetyMeasures: [],
      operations: [],
      remarks: "因设备维护计划变更，作业票作废。"
    },
    {
      id: "DZ-20240515-001",
      type: "隔离开关分闸操作票 (断电)",
      location: "丁堰车辆段",
      status: "已完成",
      target: "联合检修库2号线",
      applicant: "刘静",
      operator: "刘静",
      supervisor: "李娜",
      applicationTime: "2024-05-15T13:10:25.000Z",
      executionTime: "2024-05-15T13:20:35.000Z",
      completionTime: "2024-05-15T13:35:50.000Z",
      operationType: '断电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认联合检修库2号线隔离开关处于分闸位置', status: 'completed' },
        { step: 2, action: '在 SCADA 工作站上，操作司机台"联合检修库2号线断电"按钮。', status: 'completed' },
        { step: 3, action: '确认 SCADA 工作站上联合检修库2号线隔离开关状态指示灯由红色变为绿色。', status: 'completed' },
        { step: 4, action: '确认现场联合检修库2号线隔离开关电动、手动操作机构处于分闸位置。', status: 'completed' },
        { step: 5, action: '在联合检修库2号线隔离开关操作机构上悬挂"禁止合闸，有人工作"标示牌。', status: 'completed' },
        { step: 6, action: '通知工班长联合检修库2号线已断电，并记录相关信息。', status: 'completed' }
      ],
      remarks: "操作顺利完成。"
    },
    {
      id: "DZ-20240520-001",
      type: "接地线拆除操作票",
      location: "丁堰车辆段",
      status: "待执行",
      target: "11股道",
      applicant: "王强",
      operator: "王强",
      supervisor: "刘静",
      applicationTime: "2024-05-20T08:45:10.000Z",
      executionTime: null,
      completionTime: null,
      operationType: '接地',
      safetyMeasures: [
        { item: '确认相关作业已完成，可以拆除接地线。', status: 'not_completed' },
        { item: '确认所有人员已撤离作业区域。', status: 'not_completed' }
      ],
      operations: [
        { step: 1, action: '确认作业已完成，可以拆除接地线。', status: 'not_completed' },
        { step: 2, action: '通知相关人员即将拆除接地线。', status: 'not_completed' },
        { step: 3, action: '移除"已接地"标识牌。', status: 'not_completed' },
        { step: 4, action: '按规程拆除接地线。', status: 'not_completed' },
        { step: 5, action: '检查接地线完好性并妥善存放。', status: 'not_completed' },
        { step: 6, action: '通知相关人员接地线已拆除。', status: 'not_completed' }
      ],
      remarks: "计划于5月20日执行。"
    },
    {
      id: "DZ-20240525-001",
      type: "隔离开关合闸操作票 (送电)",
      location: "丁堰车辆段",
      status: "进行中",
      target: "联合检修库2号线",
      applicant: "李娜",
      operator: "李娜",
      supervisor: "张伟",
      applicationTime: "2024-05-25T09:30:20.000Z",
      executionTime: "2024-05-25T09:45:35.000Z",
      completionTime: null,
      operationType: '送电',
      safetyMeasures: [
        { item: '确认相关作业已结束，受电弓降下，无雷雨天气。', status: 'completed' },
        { item: '（送电作业前确认平台人员及设备清出）', status: 'completed' }
      ],
      operations: [
        { step: 1, action: '在 SCADA 工作站上，确认联合检修库2号线隔离开关处于分闸位置', status: 'completed' },
        { step: 2, action: '移除联合检修库2号线隔离开关操作机构上的"禁止合闸，有人工作"标示牌。', status: 'completed' },
        { step: 3, action: '在 SCADA 工作站上，操作司机台"联合检修库2号线送电"按钮。', status: 'not_completed' },
        { step: 4, action: '确认 SCADA 工作站上联合检修库2号线隔离开关状态指示灯由绿色变为红色。', status: 'not_completed' },
        { step: 5, action: '确认现场联合检修库2号线隔离开关电动、手动操作机构处于合闸位置。', status: 'not_completed' },
        { step: 6, action: '通知工班长联合检修库2号线已送电，并记录相关信息。', status: 'not_completed' }
      ],
      remarks: "正在执行中。"
    }
  ] 